<template>
    <page-body >
        <view class="page" >
<!---flex布局flex布局开始-->
 <view class="flex flex-wrap align-start benben-flex-layout history_flex_0"    >
            <view   class='flex flex-wrap align-center history_fd0_0'      >
            <view   class='flex flex-wrap align-center'      >
        <text class='fu-iconfont2  history_fd0_0_c0_c0'   @tap.stop="handleJumpDiy" data-type="back" data-url="1" >&#xe794;</text>
</view>
</view>
</view>

<!---flex布局flex布局结束-->
<!---flex布局flex布局开始-->
 <view class="flex benben-flex-layout flex-wrap align-center history_flex_1"    >
            <view   class='flex flex-direction flex-wrap align-center history_fd1_0'      >
            <view   class='flex flex-wrap align-center justify-around flex-sub history_fd1_0_c0'      >
            <view   class='flex flex-wrap align-center history_fd1_0_c0_c0'      >
        </view>
    <view   class='flex flex-wrap align-center'      >
        <text class='history_fd1_0_c0_c1_c0'  >成绩</text>
</view>
    <view   class='flex flex-wrap align-center'      >
        <text class='history_fd1_0_c0_c1_c0'  >考试时长</text>
</view>
    <view   class='flex flex-wrap align-center'      >
        <text class='history_fd1_0_c0_c1_c0'  >考试时间</text>
</view>
</view>
    <template v-for = '(item,key0) in list'>
    <view   class='flex flex-wrap align-center justify-around flex-sub history_fd1_0_c1'       :key='key0'>
            <view   class='flex flex-wrap align-center justify-center history_fd1_0_c1_c0'      >
        <text class='history_fd1_0_c1_c0_c0'  >{{key0+1}}</text>
</view>
    <view   class='flex flex-wrap align-center history_fd1_0_c1_c1'      >
        <text class='history_fd1_0_c1_c1_c0'  >{{item.score}}</text>
</view>
    <view   class='flex flex-wrap align-center history_fd1_0_c1_c2'      >
        <text class='history_fd1_0_c1_c1_c0'  >{{item.use_time}}</text>
</view>
    <view   class='flex flex-wrap align-center history_fd1_0_c1_c3'      >
        <text class='history_fd1_0_c1_c3_c0'  >{{item.create_time}}</text>
</view>
</view>
    </template>

</view>
</view>

<!---flex布局flex布局结束-->
<!---flex布局flex布局开始-->
 <view class="flex flex-direction flex-wrap align-stretch justify-center benben-flex-layout history_flex_2"   v-if= " list.length==0" >
            <view   class='flex flex-direction align-center self-center justify-center'      >
        <image class='history_fd2_0_c0'  mode="aspectFit"  :src='STATIC_URL+"guofang/35.png"'></image>
<text class='history_fd2_0_c1'  >暂无考试</text>
</view>
</view>

<!---flex布局flex布局结束-->


        </view>
    </page-body>
</template>
<script>
    import {validate} from '@/common/utils/validate.js'

    export default {
        components:{},


        data(){
			return {"list":[]};
		},
		computed:{

		},
		watch:{},
		onLoad(options){
            this.getwg6c050c8a99a4Func()
		},
        onUnload() {

        },
		onReady(){

		},
		onShow(){

		},
		onHide(){

		},
		onResize(){

		},
		onPullDownRefresh(){

		},
		onReachBottom(e){

		},
		onPageScroll(e){

		},
		methods:{
                            //查看模拟考试历史成绩
                async getwg6c050c8a99a4Func(){
                        //请求方法
    //数据验证

  let datalist = await this.$api.post(global.apiUrls.post66c050c8a99a4, {

  });

  if (datalist.data.code != 1) {
    this.$message.info(datalist.data.msg);
    return
  }
  let infolist = datalist.data;
  this.list = infolist.data

                }
		}
    };
</script>
<style lang="scss" scoped>
           .page{
            width: 100vw;
            overflow-x: hidden;
            min-height: calc(100vh - var(--window-bottom));
            background:#F6f6f6;background-size: 100% auto;
        }
    .history_flex_0{
        background:url(image-path('guofang/41.png')) no-repeat;background-size:100% auto;height:522rpx;width:100%;padding:66rpx 32rpx 0rpx 32rpx;position:relative;margin:0rpx 0rpx 0rpx 0rpx;
    }
    .history_fd0_0_c0_c0{
        font-size:36rpx;
    }
    .history_fd0_0{
        width:100%;margin:21rpx 0rpx 0rpx 0rpx;height:50rpx;
    }
    .history_flex_1{
        padding:24rpx;margin:-100rpx 0rpx 0rpx 0rpx;position:relative;
    }
    .history_fd1_0_c1_c3_c0{
        font-size:27rpx;font-weight:500;line-height:40rpx;color:rgba(51, 51, 51, 1);
    }
    .history_fd1_0_c1_c3{
        width:170rpx;height:88rpx;padding:0rpx 0rpx 0rpx 10rpx;
    }
    .history_fd1_0_c1_c2{
        width:120rpx;height:88rpx;padding:0rpx 0rpx 0rpx 10rpx;
    }
    .history_fd1_0_c1_c1_c0{
        font-size:28rpx;font-weight:400;line-height:40rpx;color:rgba(51, 51, 51, 1);
    }
    .history_fd1_0_c1_c1{
        width:100rpx;height:88rpx;padding:0rpx 0rpx 0rpx 015rpx;
    }
    .history_fd1_0_c1_c0_c0{
        color:rgba(211, 216, 219, 1);font-size:36rpx;line-height:44rpx;font-weight:400;font-style:italic;
    }
    .history_fd1_0_c1_c0{
        width:88rpx;height:88rpx;
    }
    .history_fd1_0_c1{
        border-bottom:1px dashed rgba(216, 216, 216, 1);background:#fff;width:100%;height:88rpx;background-size:100% auto;
    }
    .history_fd1_0_c0_c1_c0{
        font-size:28rpx;font-weight:500;line-height:40rpx;color:var(--benbenFontColor3);
    }
    .history_fd1_0_c0_c0{
        width:50rpx;height:88rpx;
    }
    .history_fd1_0_c0{
        background:rgba(225, 74, 64, 1);width:100%;border-radius:16rpx;height:88rpx;background-size:100% auto;
    }
    .history_fd1_0{
        background:#fff;padding:24rpx;width:100%;border-radius:16rpx;background-size:100% auto;
    }
    .history_flex_2{
        padding:24rpx;
    }
    .history_fd2_0_c1{
        color:rgba(153, 153, 153, 1);font-size:34rpx;font-weight:400;
    }
    .history_fd2_0_c0{
        width:360rpx;height:360rpx;border-radius:0rpx 0rpx 0rpx 0rpx;
    }
</style>
